package com.social.instadownloader.screen.common;

import com.social.instadownloader.screen.common.HeaderBarController.OnHeaderBarClickListener;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public abstract class InstaFragmentScreen extends BaseFragmentScreen implements OnHeaderBarClickListener{

	protected HeaderBarController mHeaderBarController;
	@Override
	protected View onCreateHeaderView(LayoutInflater inflater,
			ViewGroup container) {
		mHeaderBarController = new HeaderBarController(this);
		View v = mHeaderBarController.onCreateHeaderView(inflater, container);
		mHeaderBarController.setOnHeaderBarClickListener(this);
		return v;
	}
	
	public abstract String getScreenName();

	@Override
	public void onLeftIconClick(View v) {
		
	}

	@Override
	public void onRightIconClick(View v) {
		
	}

	@Override
	public void onRightTextClick(View v) {
		
	}

	@Override
	protected View onCreateContentView(LayoutInflater inflater,
			ViewGroup container) {
		return null;
	}
	
	
}
